package com.yu.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yu.crm.domain.pojo.CrmDepartmentMember;

/**
 * <p>
 * 部门成员表 服务类
 * </p>
 *
 * @author donnie-bin
 * @since 2019-06-10
 */
public interface CrmDepartmentMemberService extends IService<CrmDepartmentMember> {

    /**
     * 查询列表
     * @param page
     * @param queryInfo
     * @return
     */
    IPage<CrmDepartmentMember> list(IPage<CrmDepartmentMember> page, CrmDepartmentMember queryInfo);

    CrmDepartmentMember infoByUserId(String userId);
}
